Telegram Group & Telegram Channel
Задача для новичков.

Создайте функцию get_days, которая принимает две даты и возвращает количество дней между ними

Пример:
get_days(
datetime.date(2019, 6, 14), # 14 июня 2019
datetime.date(2019, 6, 20) # 20 июня 2019
) ➞ 6


get_days(
datetime.date(2018, 12, 29), # 29 декабря 2018
datetime.date(2019, 1, 1) # 1 января 2019
) ➞ 3
# Даты могут быть в разных месяцах и годах.


get_days(
datetime.date(2020, 5, 24),
datetime.date(2019, 5, 24))
) ➞ -366
# Даты в обратном порядке должны возвращать отрицательное значение.

Пишите ваши варианты решения в комментах. Варианты решений будут скоро(сегодня-завтра)

#новичок #coбес



tg-me.com/pythonturboru/395
Create:
Last Update:

Задача для новичков.

Создайте функцию get_days, которая принимает две даты и возвращает количество дней между ними

Пример:

get_days(
datetime.date(2019, 6, 14), # 14 июня 2019
datetime.date(2019, 6, 20) # 20 июня 2019
) ➞ 6


get_days(
datetime.date(2018, 12, 29), # 29 декабря 2018
datetime.date(2019, 1, 1) # 1 января 2019
) ➞ 3
# Даты могут быть в разных месяцах и годах.


get_days(
datetime.date(2020, 5, 24),
datetime.date(2019, 5, 24))
) ➞ -366
# Даты в обратном порядке должны возвращать отрицательное значение.

Пишите ваши варианты решения в комментах. Варианты решений будут скоро(сегодня-завтра)

#новичок #coбес

BY Python Turbo. Уютное сообщество Python разработчиков.


Warning: Undefined variable $i in /var/www/tg-me/post.php on line 283

Share with your friend now:
tg-me.com/pythonturboru/395

View MORE
Open in Telegram


Python Turbo Уютное сообщество Python разработчиков Telegram | DID YOU KNOW?

Date: |

Telegram Be The Next Best SPAC

I have no inside knowledge of a potential stock listing of the popular anti-Whatsapp messaging app, Telegram. But I know this much, judging by most people I talk to, especially crypto investors, if Telegram ever went public, people would gobble it up. I know I would. I’m waiting for it. So is Sergei Sergienko, who claims he owns $800,000 of Telegram’s pre-initial coin offering (ICO) tokens. “If Telegram does a SPAC IPO, there would be demand for this issue. It would probably outstrip the interest we saw during the ICO. Why? Because as of right now Telegram looks like a liberal application that can accept anyone - right after WhatsApp and others have turn on the censorship,” he says.

Telegram has exploded as a hub for cybercriminals looking to buy, sell and share stolen data and hacking tools, new research shows, as the messaging app emerges as an alternative to the dark web.An investigation by cyber intelligence group Cyberint, together with the Financial Times, found a ballooning network of hackers sharing data leaks on the popular messaging platform, sometimes in channels with tens of thousands of subscribers, lured by its ease of use and light-touch moderation.Python Turbo Уютное сообщество Python разработчиков from jp


Telegram Python Turbo. Уютное сообщество Python разработчиков.
FROM USA